package com.chey.dao;


import com.chey.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface RoleDao {

    @Select("select * from USER_ROLES_VIEW where USER_ID=#{uid}")
    public List<Role> selectByUserId(Integer uid);
}
